import common from './common.js'
import goods from './goods'
import groupBuy from './groupBuy'
import order from './order'
import user from './user'

// 若是使用modules，需要改动所有Vuex--加上对应的模块名称
export default {
    state: {
        ...common.state,
        ...user.state,
        ...goods.state,
        ...groupBuy.state,
        ...order.state
    },
    mutations: {
        ...common.mutations,
        ...user.mutations,
        ...goods.mutations,
        ...groupBuy.mutations,
        ...order.mutations
    },
}